package com.jiangjiang.eshop.commodity.operation;

import com.jiangjiang.eshop.commodity.dto.CategoryPropertyRelationshipDTO;
import com.jiangjiang.eshop.commodity.dto.PropertyDTO;
import com.jiangjiang.eshop.commodity.dto.PropertyGroupDTO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author zhonghuashishan
 *
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Properties {
	
	/**
	 * 类目与属性的关联关系
	 */
	private List<CategoryPropertyRelationshipDTO> propertyRelations = new ArrayList<>();
	/**
	 * 类目关联的属性
	 */
	private List<PropertyDTO> properties = new ArrayList<>();
	/**
	 * 属性分组
	 */
	private List<PropertyGroupDTO> propertyGroups = new ArrayList<>();

}
